import request from '@/utils/request'

export function queryVoucherDataList(data) {
  return request({
    url: '/shopOrderSearch/voucherList',
    method: 'get',
    params: data
  })
}

export function exportVoucherDetails(data) {
  return request({
    url: '/shopOrderSearch/voucherExport',
    method: 'get',
    responseType: 'blob',
    params: data
  })
}
